package com.hckjsec.law.domain.HomeView;

import com.hckjsec.common.annotation.Excel;

import java.math.BigDecimal;

public class LawHomeEvaluate {
    private Long id;
    private String type;
    @Excel(name = "单位名称")
    private String name;
    @Excel(name = "满意")
    private Long  satisfied;//满意
    @Excel(name = "基本满意")
    private Long  verySatisfied;//基本满意
    @Excel(name = "不满意")
    private Long  noSatisfied;//不满意
    @Excel(name = "合计")
    private Long  total;//合计

    public void  plus(){
        this.total = this.satisfied + this.verySatisfied + this.noSatisfied;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getSatisfied() {
        return satisfied;
    }

    public void setSatisfied(Long satisfied) {
        this.satisfied = satisfied;
    }

    public Long getVerySatisfied() {
        return verySatisfied;
    }

    public void setVerySatisfied(Long verySatisfied) {
        this.verySatisfied = verySatisfied;
    }

    public Long getNoSatisfied() {
        return noSatisfied;
    }

    public void setNoSatisfied(Long noSatisfied) {
        this.noSatisfied = noSatisfied;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }
}
